DP Deploy AWS Clients #137
This file contains 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: DP Deploy AWS Clients | |
on: | |
workflow_dispatch: | |
jobs: | |
deploy: | |
uses: nationalarchives/tdr-github-actions/.github/workflows/sbt_release.yml@main | |
with: | |
library-name: "AWS Clients" | |
secrets: | |
WORKFLOW_PAT: ${{ secrets.WORKFLOW_TOKEN }} | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | |
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} | |
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | |
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} | |
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} | |
build-docs: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Update docs site | |
run: | | |
sbt 'docs / makeSite' | |
git config --global user.email [email protected] | |
git config --global user.name tna-da-bot | |
git checkout gh-pages | |
rm -rf docs | |
mkdir docs && cp -r site-docs/target/site/* docs | |
git add docs | |
git commit -m "Update site documentation" | |
git push -u origin gh-pages | |
env: | |
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }} |