Skip to content

Commit

Permalink
updated github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jmaldon1 committed Jun 25, 2021
1 parent 8baf3ad commit 5c92bee
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build_and_deploy_to_gh_pages.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
name: Build and Deploy
on: [push, pull_request]

on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

jobs:
build-and-deploy:
runs-on: ubuntu-latest
# Only build and deploy on versioned tags
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
steps:
- name: Checkout 🛎️
uses: actions/[email protected] # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
Expand Down

0 comments on commit 5c92bee

Please sign in to comment.