Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
vroland committed Nov 3, 2023
1 parent c7b4b4f commit cdef259
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
branches: [ ci-test ]
jobs:
container-test-job:
build-artifacts:
runs-on: ubuntu-latest

steps:
Expand All @@ -24,3 +24,30 @@ jobs:
- name: build present page
run: make web
- run: tree build/
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v2
with:
path: build/web/

# Deploy job
deploy:
# Add a dependency to the build job
needs: build-artifacts

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit cdef259

Please sign in to comment.