Skip to content

Automated Commit - Dev #189

Automated Commit - Dev

Automated Commit - Dev #189

name: Find and Replace Dev Deployment
on:
push:
branches: [ dev ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Initiate - Dev
uses: actions/checkout@v3
with:
token: ${{ secrets.PAT }}
ref: ${{ github.head_ref }}
- name: Find and Replace - Dev
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "https://wordpress.dev.geo.ca/"
replace: "https://dev.geo.ca/"
regex: true
exclude: "**/*.yml"
- name: Push changes - Dev
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Automated Commit - Dev
push_options: --force
branch: dev
- name: Push changes - Init Stage
run: git push origin -f dev:stage
- name: Push changes - Init Page
run: git push origin -f dev:page