Skip to content

Commit

Permalink
Migrated from Travis CI to GH Actions
Browse files Browse the repository at this point in the history
- Added deploy workflow
- Removed Travis CI configuration
- Updated README.md badge
  • Loading branch information
josemmo committed Feb 6, 2021
1 parent cf116d1 commit 18a90f3
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 22 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Deploy

on:
push:
branches: [master]

jobs:
build:
name: Deploy
runs-on: ubuntu-latest
steps:
# Download code from repository
- name: Checkout code
uses: actions/checkout@v2

# Setup Node.js
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '15'

# Build webapp
- name: Build webapp
run: npm install && npm run build && echo "iotawebwallet.com" > ./dist/CNAME

# Upload webapp
- name: Upload webapp
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: dist
CLEAN: true # Automatically remove deleted files from the deploy branch
21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# IOTA Web Wallet
[![Open Web App](https://img.shields.io/badge/open-webapp-04a997.svg)](https://iotawebwallet.com/)
[![Travis CI](https://travis-ci.com/josemmo/iotawebwallet.svg?branch=master)](https://travis-ci.com/josemmo/iotawebwallet)
[![Build Status](https://github.com/josemmo/iotawebwallet/workflows/Deploy/badge.svg)](https://github.com/josemmo/iotawebwallet/actions)
[![License](https://img.shields.io/github/license/josemmo/iotawebwallet.svg)](COPYING)

[IOTA Web Wallet](https://iotawebwallet.com/) is an Open Source and Free Software project that aims to provide a reliable and complete app for managing IOTA wallets directly from the web.
Expand Down

0 comments on commit 18a90f3

Please sign in to comment.