IgorKaliel
IgorKaliel
RRailway
Created by IgorKaliel on 10/26/2024 in #✋|help
Deploy using CI/CD Github Actions
I created a simple script to deploy my backend using github actions and workflow. Could someone help me? Deploy do Backend na Railway deploy-backend: runs-on: ubuntu-latest steps: - name: Checkout the code uses: actions/checkout@v2 - name: Set up Node.js uses: actions/setup-node@v2 with: node-version: '18.x' - name: Install Railway CLI run: npm install -g @railway/cli - name: Inject Railway Token env: RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }} run: echo "RAILWAY_TOKEN is set up." - name: Deploy Backend on Railway working-directory: ./packages/backend run: railway up
32 replies