Skip to content

Commit

Permalink
ci: Rename task
Browse files Browse the repository at this point in the history
  • Loading branch information
hoang-rio committed Jul 10, 2024
1 parent 44ceda3 commit 2e535ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
DOCKER_OUTPUT="type=image,name=${{env.REGISTRY}}/abpvn/adguardhome,push=true" VERSION="${{env.VERSION}}" \
build-release build-docker
rm -rf ${{env.DIST_FOLDER}}/AdGuardHome_frontend.tar.gz
- name: Create stable release
- name: Create release
if: ${{ !contains(env.VERSION, env.DEV_VERSION_CHECK) }}
uses: ncipollo/release-action@v1
with:
Expand All @@ -133,7 +133,7 @@ jobs:
echo "${{secrets.SSH_DEPLOY_KEY}}" > ${{env.SSH_KEY_FILE_PATH}}
chmod 600 ${{env.SSH_KEY_FILE_PATH}}
- name: Copy release file to Server
- name: Copy version file to Server
if: ${{ !contains(env.VERSION, env.DEV_VERSION_CHECK) }}
run: |
rsync -have "ssh -i ${{env.SSH_KEY_FILE_PATH}} -o StrictHostKeyChecking=no" ${{ env.DIST_FOLDER }}/version.json ${{secrets.SSH_DEPLOY_USER}}@${{secrets.SSH_MAIN_HOST}}:${{secrets.DEPLOY_PATH}}/${{env.BUILD_CHANNEL}}/
Expand Down

0 comments on commit 2e535ee

Please sign in to comment.