-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (24 loc) · 947 Bytes
/
glitch_deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# This is a basic workflow to help you get started with Actions
name: Push to Glitch
# Controls when the action will run.
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
repo-sync:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Check out the Required Branch
uses: actions/checkout@v2
# Synchronize the Branch with the Glitch Repository
- name: repo-sync
uses: wei/git-sync@v1
env:
SOURCE_REPO: "https://github.com/bodo-hugo-barwich/perl-plack-pwa-web.git"
SOURCE_BRANCH: "master"
DESTINATION_REPO: ${{ secrets.GLITCH_GIT_URL }}
DESTINATION_BRANCH: "master"
with:
args: $SOURCE_REPO $SOURCE_BRANCH $DESTINATION_REPO $DESTINATION_BRANCH