refactor: update messages when flags are not in base position (#302) #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CTF Deploy Test | |
on: | |
push: | |
branches: | |
- test | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Deploy using ssh | |
uses: appleboy/ssh-action@v1.1.0 | |
with: | |
host: ${{ secrets.HOST }} | |
username: ${{ secrets.USERNAME }} | |
key: ${{ secrets.PRIVATE_KEY }} | |
port: ${{ secrets.PORT }} | |
script: | | |
cd ctf-test | |
git pull origin dev | |
git status | |
sudo docker compose up --build -d | |
sudo docker builder prune -f -a | |
sudo docker image prune -f -a |