Skip to content

Commit

Permalink
Set up Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
marian42 committed Feb 10, 2024
1 parent 88c73ca commit 4da8e98
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 27 deletions.
34 changes: 34 additions & 0 deletions .github/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: GitHub Pages Deployment

on:
push:
branches:
- master

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '14'

- name: Install TypeScript
run: npm install -g typescript

- name: Compile TypeScript
run: tsc

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .
publish_branch: gh-pages
exclude_assets: .github,src,.gitignore,app.js.map,LICENSE,README.md,tsconfig.json
full_commit_message: Deploy to Github Pages
27 changes: 0 additions & 27 deletions .travis.yml

This file was deleted.

0 comments on commit 4da8e98

Please sign in to comment.