Updated/Added simply-static-1-1729785473 #385
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |