build(deps): bump http-proxy-middleware from 2.0.7 to 2.0.9 in /website #3921
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: [main] | |
tags: ["**"] | |
concurrency: | |
group: release-${{ github.ref }} | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
# Do not change the version of Java, it is the minimal version Metals works with | |
java-version: 17 | |
cache: 'sbt' | |
- uses: sbt/setup-sbt@v1 | |
- name: Publish to Sonatype | |
run: sbt ci-release | |
env: | |
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} | |
PGP_SECRET: ${{ secrets.PGP_SECRET }} | |
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | |
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} | |
- name: Publish Documentation | |
if: ${{ !contains(github.ref_name, '@') }} | |
run: sbt docs/docusaurusPublishGhpages | |
env: | |
GIT_USER: scalameta@scalameta.org | |
GIT_DEPLOY_KEY: ${{ secrets.GIT_DEPLOY_KEY }} |