solana/.github/workflows/export-github-repo.yml

37 lines
823 B
YAML

name: export-github-repo
on:
push:
branches:
- master
paths:
- "web3.js/**"
env:
GITHUB_TOKEN: ${{secrets.PAT}}
jobs:
web3:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v3
with:
python-version: "3.x"
- name: cmd
run: |
chmod +x ./ci/export-github-repo.sh
./ci/export-github-repo.sh web3.js/ solana-web3.js
shell: bash
- name: Send Slack notifiaction
if: failure()
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
uses: voxmedia/github-action-slack-notify-build@v1
with:
channel: ${{ secrets.SLACK_CHANNEL }}
status: FAILED
color: danger