Skip to content

Commit

Permalink
fix example action format
Browse files Browse the repository at this point in the history
  • Loading branch information
mhuebert committed May 28, 2024
1 parent 789b78b commit 3dba708
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish_private_website_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ on:
- main

jobs:
publish:
prepare:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Prepend timestamp to index.html
run: |
echo "Published at: $(date)<br/>" | cat - ./public/index.html > temp && mv temp ./public/index.html
- name: Publish private website
uses: probcomp/gen-website-private/.github/workflows/publish_private_website.yml@main
with:
website_dir: './public'
publish:
needs: prepare
runs-on: ubuntu-latest
uses: probcomp/gen-website-private/.github/workflows/publish_private_website.yml@main
with:
website_dir: './public'

0 comments on commit 3dba708

Please sign in to comment.