From d2b3c2e20d2f6e761e15692b6af51c475f4c0657 Mon Sep 17 00:00:00 2001 From: Matt Date: Wed, 26 Jun 2024 20:00:46 +0100 Subject: [PATCH] feature: Upload CI --- .github/workflows/upload.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/upload.yml diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml new file mode 100644 index 0000000..647e963 --- /dev/null +++ b/.github/workflows/upload.yml @@ -0,0 +1,24 @@ +name: Upload docs + +on: + push: + branches: [ "update/new" ] + +jobs: + upload: + runs-on: ubuntu-latest + container: + image: ghcr.io/triumphteam/website:latest + credentials: + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + steps: + # Check out the repo to access the files + - name: Checkout + uses: actions/checkout@v3 + + # Run application with the files! + - name: Run + run: | + java -jar /app/application.jar -i $GITHUB_WORKSPACE -b ${{ secrets.AUTH }} -u https://new.triumphteam.dev/