Skip to content

chore: changed image url prefix (#218) #17

chore: changed image url prefix (#218)

chore: changed image url prefix (#218) #17

name: CI
on:
push:
branches:
- main
jobs:
git-push:
name: Build and push
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: borales/[email protected]
with:
cmd: install # will run `yarn install` command
- uses: borales/[email protected]
with:
cmd: build # will run `yarn build` command
- uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-directory: dist/
destination-github-username: 'TeamPiickle'
destination-repository-name: 'express-build'
user-email: [email protected]
target-branch: main
sync-branches:
name: Sync main -> develop
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: 12
- name: Opening pull request
id: pull
uses: tretuna/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.TOKEN_FOR_PR }}
FROM_BRANCH: "main"
TO_BRANCH: "develop"
PULL_REQUEST_TITLE: "sync: main -> develop"