Skip to content

Commit

Permalink
Add artifact preparation and upload
Browse files Browse the repository at this point in the history
  • Loading branch information
miesgre committed Jan 17, 2024
1 parent 512eb97 commit 52a68bd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,19 @@ jobs:
- name: Build
run: ./gradlew clean build

- name: Run and Mirror
- name: Prepare artifact
run: |
mkdir -p mirror-root
sudo mkdir /etc/cas
sudo chown $USER:$USER /etc/cas
./gradlew createKeystore
java -jar build/libs/cas.war &
PID=$!
sleep 30
wget --no-check-certificate --mirror --convert-links --adjust-extension --page-requisites --no-parent -P mirror-root https://localhost:8443/cas/login
kill $PID
- name: Upload as artifact
uses: actions/upload-pages-artifact@v1
with:
path: mirror-root/localhost:8443/cas

0 comments on commit 52a68bd

Please sign in to comment.