Skip to content

Update ci-testing.yml #283

Update ci-testing.yml

Update ci-testing.yml #283

Workflow file for this run

name: Sync Repositories
on:
push:
branches:
- main
jobs:
build:
if: github.repository == 'Maps4HTML/Web-Map-Custom-Element'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '18.x'
- run: npm install
- run: npm install -g grunt-cli
- run: grunt default
- name: Pushes to requirements repo
uses: ./.github/actions/sync-repo
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_folder: 'dist'
destination_repo: 'Maps4HTML/UCR-MapML-Matrix'
destination_folder: 'dist'
user_email: '[email protected]'
user_name: 'prushforth'
commit_msg: '[AUTO] Sync MapML Build'
destination_branch: main
- name: Pushes to documentation repo
uses: ./.github/actions/sync-repo
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_folder: 'dist'
destination_repo: 'Maps4HTML/web-map-doc'
destination_folder: 'static/dist'
user_email: '[email protected]'
user_name: 'prushforth'
commit_msg: '[AUTO] Sync MapML Build'
destination_branch: main
- name: Pushes to experiments repo
uses: ./.github/actions/sync-repo
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_folder: 'dist'
destination_repo: 'Maps4HTML/experiments'
destination_folder: 'dist'
user_email: '[email protected]'
user_name: 'prushforth'
commit_msg: '[AUTO] Sync MapML Build'
destination_branch: main
- name: Pushes to extensions repo
uses: ./.github/actions/sync-repo
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_folder: 'dist'
destination_repo: 'Maps4HTML/mapml-extension'
destination_folder: 'src/dist'
user_email: '[email protected]'
user_name: 'prushforth'
commit_msg: '[AUTO] Sync MapML Build'
destination_branch: main