Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenChen authored Apr 20, 2024
1 parent 7e0e655 commit 43d42a7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
Starting build for commit [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }}) by ${{ github.actor }}
>>> ${{ github.event.head_commit.message }}
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install testing dependencies
Expand All @@ -39,9 +39,9 @@ jobs:
run: |
flake8 .
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Cache Docker layers
uses: actions/cache@v3
with:
Expand All @@ -50,7 +50,7 @@ jobs:
restore-keys: |
${{ runner.os }}-buildx-
- name: Login to GHCR
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
# GitHub username and personal access token
registry: ghcr.io
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
webhook_token: ${{ secrets.WEBHOOK_TOKEN }}
message: Running on server
- name: Run on server
run: docker-compose -f docker-compose-prod.yml up -d
run: docker compose -f docker-compose-prod.yml up -d
env:
DOCKER_HOST: ${{ secrets.SSH_HOST }}
COMPOSE_PARAMIKO_SSH: '1'
Expand Down

0 comments on commit 43d42a7

Please sign in to comment.