Adding release pipeline
Ending spring fundraiser
This commit is contained in:
parent
4f8c87b6bb
commit
72be60ce4b
49
.gitea/workflows/deploy.yaml
Normal file
49
.gitea/workflows/deploy.yaml
Normal file
|
|
@ -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 }}
|
||||||
|
|
@ -9,7 +9,8 @@
|
||||||
Fundraiser benefits the Troop and individual Scouts. Fundraiser runs from February 27th until March 20th.
|
Fundraiser benefits the Troop and individual Scouts. Fundraiser runs from February 27th until March 20th.
|
||||||
Please enter the <b>Scout's name</b> and <b>Scouting America Troop 2020G</b> in the "Who are you Supporting" fields in the checkout cart.
|
Please enter the <b>Scout's name</b> and <b>Scouting America Troop 2020G</b> in the "Who are you Supporting" fields in the checkout cart.
|
||||||
</p>
|
</p>
|
||||||
<a href="https://www.iraisemore.com/collections/art-in-nature-flower-bulbs?ref=33379" target="_blank"
|
<p>
|
||||||
class="link dim lh-title">Click Here to Support Troop 20!</a>
|
<b>This fundraiser has concluded.</b>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
Loading…
Reference in New Issue
Block a user