Skip to content

Commit

Permalink
trying
Browse files Browse the repository at this point in the history
  • Loading branch information
kektobiologist committed Sep 21, 2024
1 parent eb66d35 commit 31af794
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ jobs:
- name: Run frontend server (v1)
env:
REF: ${{ github.sha }} # This is the current commit SHA
REF: ${{ github.ref }} # trying ref
run: |
ssh [email protected] << 'EOF'
cd /home/minusx/minusx/web
git fetch --all
echo $REF
git fetch --all --tags
git checkout $REF
git reset --hard $REF
docker compose up -d --build
Expand Down

0 comments on commit 31af794

Please sign in to comment.