Skip to content

Commit

Permalink
Merge pull request #1 from dennikolova/create-deploy-workflow
Browse files Browse the repository at this point in the history
Create deploy workflow
  • Loading branch information
dennikolova authored Nov 26, 2023
2 parents abfa120 + 84e1da8 commit 9d55564
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 31 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:

jobs:

deploy:
if: github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- name: Deploy to production
uses: johnbeynon/render-deploy-action@v0.0.8
with:
service-id: ${{ secrets.LibraryServiceID }}
api-key: ${{ secrets.LibraryAppKey }}
31 changes: 0 additions & 31 deletions .github/workflows/pipeline.yml

This file was deleted.

0 comments on commit 9d55564

Please sign in to comment.