Skip to content

Merge pull request #361 from freezingsaddles/emergency-pad-fix #94

Merge pull request #361 from freezingsaddles/emergency-pad-fix

Merge pull request #361 from freezingsaddles/emergency-pad-fix #94

Workflow file for this run

---
name: Build Deploy and Test Latest
on:
push:
branches:
- 'master'
jobs:
build:
uses: freezingsaddles/freezing-web/.github/workflows/[email protected]
concurrency: build-deploy-and-teset
with:
tag: latest
secrets: inherit
deploy:
concurrency: build-deploy-and-test
needs: build
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: install
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
passphrase: ${{ secrets.PASSPHRASE }}
script: |
set -euo pipefail
cd /opt/compose
docker compose pull freezing-web
docker compose up -d freezing-web
- name: wait
uses: iFaxity/[email protected]
with:
resource: https-get://freezingsaddles.org
timeout: 5000
test:
concurrency: build-deploy-and-test
needs: [build, deploy]
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: checkout
uses: actions/checkout@v4
- name: test-wget-spider
run: "URL=https://freezingsaddles.org test/wget-spider.sh"