Merge pull request #151 from RoboStack/dependabot/github_actions/acti… #4
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: deploy | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_run: | |
| workflows: ["Update package table"] | |
| types: [completed] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| # `ghp-import --push` pushes the built site to the gh-pages branch | |
| permissions: | |
| contents: write | |
| steps: | |
| # ghp-import pushes with the credentials persisted by checkout | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - uses: prefix-dev/setup-pixi@f00437f565399d418b0acc85936d12c1fb668347 # v0.10.1 | |
| - run: pixi run gh-deploy |