diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index cbd21ab..f1c6f84 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -1,17 +1,18 @@ -name: Proxy CI/CD +name: My Deploy on: push: - branches: - - main + branches: [main] + pull_request: + branches: [main] jobs: - deploy: - name: Deploy + build: runs-on: ubuntu-latest steps: - - name: Render deploy + - name: Deploy to production uses: johnbeynon/render-deploy-action@v0.0.8 with: - service-id: ${{ secrets.RENDER_HOOK }} - api-key: ${{ secrets.RENDER_KEY }} + service-id: ${{ secrets.MY_RENDER_SERVICE_ID }} + api-key: ${{ secrets.MY_RENDER_API_KEY }} + wait-for-success: true diff --git a/readme.md b/readme.md index 6ea108d..8e0af2d 100644 --- a/readme.md +++ b/readme.md @@ -6,7 +6,7 @@ ## Endpoints: -- **/get/:url** example: `https://express-proxy-jnve.onrender.com/getNormal/https://jsonplaceholder.typicode.com/posts` [Link](https://express-proxy-jnve.onrender.com/getNormal/https://jsonplaceholder.typicode.com/posts) +- **/get/:url** example: `https://express-proxy-jnve.onrender.com/get/https://jsonplaceholder.typicode.com/posts` [Link](https://express-proxy-jnve.onrender.com/get/https://jsonplaceholder.typicode.com/posts) - **/post/:url** - **/put/:url**