Skip to content

Test GitHub token

Test GitHub token #138

Workflow file for this run

name: PR Deploy
on:
pull_request:
types: [opened, synchronize, reopened, closed]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Deploy PR
uses: ./
with:
server_host: ${{ secrets.SERVER_HOST }}
server_username: ${{ secrets.SERVER_USERNAME }}
server_password: ${{ secrets.SERVER_PASSWORD }}
server_port: ${{ secrets.SERVER_PORT }}
context: '.'
dockerfile: 'Dockerfile'
exposed_port: '5000'
github_token: ${{ secrets.GITHUB_TOKEN }}
# envs: |
# VITE_API_URL=http://localhost:5000
# NODE_ENV=production