Skip to content

Update issue templates (#488) #1327

Update issue templates (#488)

Update issue templates (#488) #1327

Workflow file for this run

name: compile
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Compile bundle
uses: pi-base/compile@releases/v1
with:
out: bundle.json
- name: Persist bundle as artifact
uses: actions/[email protected]
with:
name: bundle.json
path: bundle.json
- name: Upload bundle to S3
run: |
aws s3 cp --acl public-read bundle.json s3://pi-base-bundles/${GITHUB_REF:-unknown}.json
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-2
# - name: Notify Slack
# run: |
# curl -X POST \
# -H 'Content-type: application/json' \
# -H 'Authorization: Bearer ${{ secrets.SLACK_BOT_TOKEN }}' \
# --data '{
# "channel": "activity",
# "icon_emoji": ":female_scientist:",
# "attachments": [
# {
# "mrkdwn_in": ["text"],
# "text": "New release for *${{ github.repository }}*",
# "color": "good",
# "fields": [
# { "title": "Message", "value": "${{ github.event.head_commit.message }}"},
# { "title": "Author", "value": "${{ github.actor }}" },
# { "title": "Ref", "value": "${{ github.ref }}", "short": true },
# { "title": "Sha", "value": "${{ github.sha }}", "short": true }
# ]
# }
# ]
# }' \
# https://slack.com/api/chat.postMessage