Skip to content

Merge pull request #18 from vipyrsec/dependabot/github_actions/action… #55

Merge pull request #18 from vipyrsec/dependabot/github_actions/action…

Merge pull request #18 from vipyrsec/dependabot/github_actions/action… #55

Workflow file for this run

name: "Deploy to GitHub Pages"
on:
push:
branches: [ main ]
pull_request:
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Checkout repository"
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: "Install, build, and upload your site"
uses: withastro/action@e3193ac80e18917ceaeb9f2d47019ad3b2c0416a # v0.3.0
deploy:
if: ${{ github.ref == 'refs/heads/main' }}
needs: build
runs-on: ubuntu-latest
environment:
name: "github-pages"
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: "Deploy to GitHub Pages"
id: deployment
uses: actions/deploy-pages@9dbe3824824f8a1377b8e298bafde1a50ede43e5 # v2.0.4