Skip to content

add config and icons #3

add config and icons

add config and icons #3

Workflow file for this run

on:
# Release on push to main
# push:
# branches: [main]
# Release on manual trigger
workflow_dispatch:
jobs:
# Variable syntax below assumes Linux/Mac but could be easily adapted to Windows
runs-on: ubuntu-latest

Check failure on line 11 in .github/workflows/main.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yaml

Invalid workflow file

You have an error in your yaml syntax on line 11
release_job:
steps:
- name: Check out code
uses: actions/checkout@v3
with:
# Prevent the action from storing credentials in a way that's hard to override
persist-credentials: false
# ... Other steps to prepare for publishing (install, build, test, etc) ...
# Set the name, email, and URL with PAT
- name: Set git credentials
run: |
git config user.name "SCAYLE"
git config user.email "[email protected]"
git remote set-url origin "https://[email protected]/scayle/panel-icons"
env:
REPO_PAT: ${{ secrets.REPO_PAT }}
# Pass the token on the command line for publishing
- name: Publish
run: npm run release -- --token "$NPM_TOKEN"
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}