Skip to content

text edit

text edit #118

Workflow file for this run

name: pages
on:
push:
branches:
- 'main'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: set-up dir structure
run: |
mkdir ./_site
- name: add site
uses: actions/jekyll-build-pages@v1
with:
source: site
destination: ./_site
- name: upload artifact
uses: actions/upload-pages-artifact@v1
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: ['build']
steps:
- name: deploy to github pages
id: deployment
uses: actions/deploy-pages@v1