Skip to content

Commit

Permalink
New deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
david-waltermire authored Oct 23, 2023
1 parent e77aa90 commit c4ffdc8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
token: ${{ secrets.COMMIT_TOKEN }}
submodules: recursive
filter: tree:0
# -------------------------
Expand Down Expand Up @@ -59,7 +60,10 @@ jobs:
- name: Build Website
run: |
mvn -B -e -Prelease -Preporting install site site:stage
- name: Run Website Deploy Script
run: |
touch target/staging/.nojekyll
bash .github/workflows/deploy.sh --push-only -v -m "Deploying website [ci skip]"
- name: Website Deploy
uses: ad-m/github-push-action@40bf560936a8022e68a3c00e7d2abefaf01305a6
with:
github_token: ${{ secrets.COMMIT_TOKEN }}
branch: nist-pages
force: true
directory: 'target/staging'

0 comments on commit c4ffdc8

Please sign in to comment.