update artifact site to prepare for camera ready, add landing page #135
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: 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 |