Skip to content

Commit

Permalink
Create mirror.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aukepiersma authored Apr 23, 2024
0 parents commit 8a10207
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Mirror

on:
schedule:
- cron: '0 10 * * *'
workflow_dispatch:

jobs:
mirror:
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Mirror
uses: codewurker/woo-plugin-mirror-action@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
woo-access-token: ${{ secrets.WOOCOMMERCE_HELPER_ACCESS_TOKEN }}
woo-access-token-secret: ${{ secrets.WOOCOMMERCE_HELPER_ACCESS_TOKEN_SECRET }}
woo-product-id: 18732
plugin-basename: woocommerce-role-based-methods/woocommerce-role-based-methods.php

0 comments on commit 8a10207

Please sign in to comment.