Skip to content

Update actions/deploy-pages action to v2.0.5 - autoclosed #2348

Update actions/deploy-pages action to v2.0.5 - autoclosed

Update actions/deploy-pages action to v2.0.5 - autoclosed #2348

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: Swatinem/rust-cache@a22603398250b864f7190077025cf752307154dc # v2.7.2
- run: cargo run
- run: cp CNAME ./site/
- run: touch site/.nojekyll
- uses: actions/upload-pages-artifact@66b63f4a7de003f4f00cc8e9af4b83b8f2abdb96 # v1.0.9
with:
path: site
deploy:
if: ${{ github.ref == 'refs/heads/master' }}
needs: build
permissions:
pages: write
id-token: write
runs-on: ubuntu-latest
steps:
- id: deployment
uses: actions/deploy-pages@de14547edc9944350dc0481aa5b7afb08e75f254 # v2.0.5
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}