Skip to content

Commit

Permalink
Test minimal pages deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
petter-mfn committed Oct 21, 2024
1 parent da3032d commit d2c579b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
jobs:
# Build job
build:
# Specify runner + build & upload the static files as an artifact
runs-on: ubuntu-latest
steps:
- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: initial-test-folder/

# Deployment job
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@v4
5 changes: 5 additions & 0 deletions initial-test-folder/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<html>
<body>
<p>It worked.</p>
</body>
</html>

0 comments on commit d2c579b

Please sign in to comment.