enhancement(lint): Fix lint errors for .github/workflows/deploy.yml

Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
This commit is contained in:
zeon-neon[bot] 2024-09-06 17:28:34 +00:00 committed by GitHub
parent 65ead5db2d
commit 7a2d7e0e9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,29 +12,28 @@ on:
workflow_dispatch:
jobs:
build:
name: Build & deploy
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set Short SHA
id: short_sha
run: |
echo $(pwd)
echo $(ls)
echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@v0.1.8
with:
context: .
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: |
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set Short SHA
id: short_sha
run: |
echo $(pwd)
echo $(ls)
echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@v0.1.8
with:
context: .
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: |
cd /${{ secrets.USERNAME }}
export REACT_APP_BUILD_SHA=${{ steps.short_sha.outputs.short_sha }}
export REACT_APP_BUILD_ID=${{ github.run_id }}