Skip to content

Commit

Permalink
Update update_urls.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mashiahd authored Jun 24, 2024
1 parent fba456f commit 55e3108
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/update_urls.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: Update URLs after merge to main
name: Update URLs after rebase

on:
push:
branches:
- main
- develop

jobs:
update-urls:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
- name: Checkout develop branch
uses: actions/checkout@v2

- name: Replace URLs in specified files
- name: Replace URLs in files
run: |
# Define the files to include and exclude
include_files=("platform/vm/modsec_nginx.sh" "platform/proxmox_ct/modsec_nginx_proxmox.sh")
Expand All @@ -32,6 +32,6 @@ jobs:
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
git add .
git commit -m "Update URLs from develop to main"
git push origin main
git push origin develop
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 55e3108

Please sign in to comment.