fix main link #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: main | |
on: [ push ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '12' | |
- name: Installing project dependencies | |
run: npm install | |
- name: Building the project | |
run: npm run build | |
- name: publish | |
run: | | |
npx @getmeli/cli@next upload \ | |
./dist \ | |
--url "https://dev.wwwwww.space" \ | |
--site "15b8c5bc-e2ce-4a80-bcfc-ed1c283a32f8" \ | |
--release "$GITHUB_SHA" --token "$MELI_TOKEN" | |
env: | |
MELI_TOKEN: ${{ secrets.MELI_TOKEN }} | |
# using default GITHUB_TOKEN set by Github Actions | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |