Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
satayyeb authored Sep 16, 2023
1 parent ceabfc3 commit dbdf7c7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
branches:
- main

env:
DEPLOY_TOKEN: jrI6OqLIx8JVLbPLs7rGIJOojQ9FpRcxoh8GobHv-Zh_M-rKFhECaQDKRMTZAkwccO6PhuE7TUYrnKWG

jobs:
deployment:
runs-on: ubuntu-latest
Expand All @@ -17,7 +14,7 @@ jobs:
with:
url: 'https://alitayyeb.ir/deploy-from-git/'
method: 'POST'
customHeaders: '{"Authorization": "${{ DEPLOY_TOKEN }}"}'
customHeaders: '{"Authorization": "${{ secrets.DEPLOY_KEY }}"}'
- name: Print Deploy Response
run: |
echo ${{ fromJson(steps.deploy.outputs.response).detail }}
Expand Down

0 comments on commit dbdf7c7

Please sign in to comment.