staging #169
@ -11,14 +11,12 @@ env:
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240117
|
||||
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240118
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run Test DB Script
|
||||
run: ./test_db.sh
|
||||
|
||||
- name: TEMPORARY act workaround
|
||||
run: apt update && apt install zstd
|
||||
- name: Set up cargo cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
@ -48,7 +46,7 @@ jobs:
|
||||
|
||||
deploy-staging:
|
||||
runs-on: ubuntu-latest
|
||||
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240117
|
||||
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240118
|
||||
needs: [test]
|
||||
if: github.ref == 'refs/heads/staging'
|
||||
steps:
|
||||
@ -88,7 +86,7 @@ jobs:
|
||||
|
||||
deploy-main:
|
||||
runs-on: ubuntu-latest
|
||||
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:latest
|
||||
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240118
|
||||
needs: [test]
|
||||
if: github.ref == 'refs/heads/main'
|
||||
steps:
|
||||
|
@ -21,3 +21,6 @@ RUN npx playwright install --with-deps
|
||||
# deployment
|
||||
RUN rustup target add x86_64-unknown-linux-musl
|
||||
RUN apt-get install -y -qq pkg-config sshpass musl musl-tools curl gnupg libssl-dev
|
||||
|
||||
# TEMPORARY act workaround (otherwise gitea cache is not working)
|
||||
RUN apt-get install -y zstd
|
||||
|
Loading…
Reference in New Issue
Block a user