Skip to content

Policy: define appliesOn method #1772

Policy: define appliesOn method

Policy: define appliesOn method #1772

Workflow file for this run

name: Release
on:
push:
branches: [main]
tags: ["*"]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- name: Publish ${{ github.ref }}
run: sbt ci-release docs/docusaurusPublishGhpages
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
GIT_USER: scalameta@scalameta.org
GIT_DEPLOY_KEY: ${{ secrets.GIT_DEPLOY_KEY }}