diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 7e3436f..5ca5ea4 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -1,8 +1,21 @@ -- name: Test Secret - run: | - if [ -z "${{ secrets.SSH_PRIVATE_KEY }}" ]; then - echo "SSH_PRIVATE_KEY is empty" - exit 1 - fi +name: Deploy Frontend - echo "SSH_PRIVATE_KEY exists" \ No newline at end of file +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Test Secret + run: | + if [ -z "${{ secrets.SSH_PRIVATE_KEY }}" ]; then + echo "SSH_PRIVATE_KEY is empty" + exit 1 + fi + echo "SSH_PRIVATE_KEY exists" \ No newline at end of file