Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdone committed Aug 27, 2024
1 parent f09bf6b commit 4b4bea9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "Generate homepage"

on:
push:
branches: [ "main-test-gh" ]
pull_request:
branches: [ "main" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
generate_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/configure-pages@v3
- run: |
mkdir "./_tmp_gh_pages"
echo "Hello, World" > "./_tmp_gh_pages/index.html"
- uses: actions/upload-pages-artifact@v2
with:
path: "./_tmp_gh_pages"
- uses: actions/deploy-pages@main

0 comments on commit 4b4bea9

Please sign in to comment.