diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml new file mode 100644 index 0000000..7399ccc --- /dev/null +++ b/.gitea/workflows/deploy.yaml @@ -0,0 +1,49 @@ +name: Publish Docker Image + +on: + release: + types: [published] +jobs: + buildUI: + name: Build UI Artifact + runs-on: osx + steps: + - name: Check out repository code + uses: actions/checkout@v4 + - name: Restoring Node Packages + run: | + cd source + yarn install --frozen-lockfile + - name: Build + run: | + cd source + yarn run build + - name: Saving build artifact + uses: actions/checkout@v4 + - uses: actions/upload-artifact@v4 + with: + name: troop20web + path: source/dist/troop20web/ + publicUI: + name: Publishing Docker Image + runs-on: osx + steps: + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 + with: + name: troop20web + path: source/dist/troop20web/ + - name: Log in to Docker Hub + uses: docker/login-action@3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Build and push + uses: docker/build-push-action@v6 + with: + push: false + tags: ${{ secrets.DOCKERHUB_USERNAME }}/troop20-web:${{ github.ref_name }} \ No newline at end of file diff --git a/source/src/app/fundraising/fundraising.component.html b/source/src/app/fundraising/fundraising.component.html index 6976449..6724393 100644 --- a/source/src/app/fundraising/fundraising.component.html +++ b/source/src/app/fundraising/fundraising.component.html @@ -9,7 +9,8 @@ Fundraiser benefits the Troop and individual Scouts. Fundraiser runs from February 27th until March 20th. Please enter the Scout's name and Scouting America Troop 2020G in the "Who are you Supporting" fields in the checkout cart.

- Click Here to Support Troop 20! +

+ This fundraiser has concluded. +

\ No newline at end of file