This action will sync a Github repository into WVS.io on push.
Required The wvs.io username used to push
Required The wvs.io personal access token for the user. Can be generated here https://wvs.io/-/profile/personal_access_tokens.
Required The wvs.io repository url.
The time this action ran.
- Create a yml file in your Github repository under .github/workflows. Example wvs-sync.yml.
- Add your wvs personal access token to your Github secrets. This can be done on the repo or at higher levels such as your organization: https://docs.github.com/en/actions/security-guides/encrypted-secrets
name: wvs-github-bridge-action
run-name: WVS Bridge Action
on: [push]
jobs:
bridge-to-wvs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: 'true'
submodules: 'recursive'
- uses: WevrVirtualStudio/wvs-github-bridge-action@main
with:
wvs-repo: 'https://wvs.io/<mygroup>/<myproject>.git'
env:
WVS_USERNAME: "wvsuser"
WVS_PERSONAL_ACCESS_TOKEN: ${{ secrets.WVS_PERSONAL_ACCESS_TOKEN }}