Skip to content

Commit

Permalink
Test build.yml #20 - removed timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
augustinecyr committed Apr 21, 2023
1 parent 53ee7f4 commit ec38c1d
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,9 @@ jobs:
X_RapidAPI_Key: ${{ secrets.X_RapidAPI_Key }}
MYSQLPASSWORD: ${{ secrets.MYSQLPASSWORD }}
run: mvn -B package --file backend/pom.xml

# - name: Run with the SNAPSHOT.jar
# env:
# REDIS_PW: ${{ secrets.REDIS_PW }}
# GMAIL_PW: ${{ secrets.GMAIL_PW }}
# GITHUB_SECRET: ${{ secrets.OAUTH2_GITHUB_SECRET }}
# GITHUB_ID: ${{ secrets.OAUTH2_GITHUB_ID }}
# GOOGLE_SECRET: ${{ secrets.GOOGLE_SECRET }}
# GOOGLE_ID: ${{ secrets.GOOGLE_ID }}
# GOOGLE_MAPS_API_KEY: ${{ secrets.GOOGLE_MAPS_API_KEY }}
#X_RapidAPI_Key: ${{ secrets.X_RapidAPI_Key }}
#MYSQLPASSWORD: ${{ secrets.MYSQLPASSWORD }}
#working-directory: ./backend
#run: java -jar -Dspring.backgroundpreinitializer.ignore=true target/backend-0.0.1-SNAPSHOT.jar


- name: Deploy to Railway
working-directory: ./backend
run: railway up --timeout 300
run: railway up
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}

1 comment on commit ec38c1d

@vercel
Copy link

@vercel vercel bot commented on ec38c1d Apr 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.