Add slack release script #160
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: Update Website | |
on: | |
push: | |
branches: | |
- master | |
permissions: | |
contents: read | |
jobs: | |
release-site: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
python-version: '3.12.4' | |
architecture: 'x64' | |
- run: pip install -r requirements.txt | |
- run: ./tools/embed_code.py | |
- uses: actions/[email protected] | |
with: | |
repository: http4k/www-http4k-connect | |
path: tmp | |
token: ${{ secrets.TOOLBOX_REPO_TOKEN }} | |
- run: cp -R build/docs-website/docs tmp/ | |
- run: cp -R src/mkdocs.yml tmp/ | |
- run: pushd tmp && mkdocs gh-deploy && popd | |