Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 14 additions & 21 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,30 @@
name: github pages
name: Deploy MkDocs

on:
push:
branches:
- v2 # Set a branch to deploy
- v2
pull_request:

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Node.js
uses: actions/setup-node@v1
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
node-version: '14.x'
python-version: 3.x

- name: Install dependencies
run: npm i -g postcss postcss-cli autoprefixer
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
extended: true
run: pip install -r requirements.txt

- name: Build
run: hugo --minify
run: mkdocs build --strict

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/v2'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
run: mkdocs gh-deploy --force
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ resources
TODO
.idea
.hugo_build.lock
site/
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

105 changes: 0 additions & 105 deletions config.toml

This file was deleted.

10 changes: 0 additions & 10 deletions content/en/blog/2022/meetup.md

This file was deleted.

8 changes: 0 additions & 8 deletions content/en/blog/2023/ballerina-identifiers.md

This file was deleted.

8 changes: 0 additions & 8 deletions content/en/blog/2023/setup-ballerina.md

This file was deleted.

8 changes: 0 additions & 8 deletions content/en/blog/_index.md

This file was deleted.

6 changes: 0 additions & 6 deletions content/en/blog/old.md

This file was deleted.

31 changes: 0 additions & 31 deletions content/en/home/about.md

This file was deleted.

11 changes: 0 additions & 11 deletions content/en/home/baltips.md

This file was deleted.

11 changes: 0 additions & 11 deletions content/en/home/index.md

This file was deleted.

Binary file removed content/en/home/logo.png
Binary file not shown.
7 changes: 0 additions & 7 deletions content/en/projects/_index.md

This file was deleted.

20 changes: 0 additions & 20 deletions content/en/projects/ballerina.md

This file was deleted.

11 changes: 0 additions & 11 deletions content/en/projects/bps.md

This file was deleted.

10 changes: 0 additions & 10 deletions content/en/projects/brs.md

This file was deleted.

10 changes: 0 additions & 10 deletions content/en/projects/java4bpel.md

This file was deleted.

8 changes: 0 additions & 8 deletions content/en/projects/metcat.md

This file was deleted.

11 changes: 0 additions & 11 deletions content/en/projects/ode.md

This file was deleted.

12 changes: 12 additions & 0 deletions docs/blog/2022/meetup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: "Introduction to Ballerina - A Cloud Native Programming Language"
date: 2022-02-02
---

# :movie_camera: Introduction to Ballerina - A Cloud Native Programming Language

## Online Meetup

This meetup was held on 2nd February 2022 and hosted by the [CodeSeeker's Endless Programming Languages](https://www.meetup.com/CodeSeekers-Endless-Programming-Languages/) meetup group. Watch the recording.

<iframe width="560" height="315" src="https://www.youtube.com/embed/iWOX688L-D4" title="Introduction to Ballerina" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
10 changes: 10 additions & 0 deletions docs/blog/2023/ballerina-identifiers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: "Ballerina Identifiers: A Simple Guide for New Developers"
date: 2023-03-15
---

# :page_facing_up: Ballerina Identifiers: A Simple Guide for New Developers

This post was originally published on [Dev Community](https://dev.to/hasitha/ballerina-identifiers-a-simple-guide-for-new-developers-43ia). The post summary was tweeted by me, [@HasithaAravinda](https://twitter.com/HasithaAravinda/status/1635990104610152449).

[:fontawesome-brands-twitter: View Tweet](https://twitter.com/HasithaAravinda/status/1635990104610152449){ .md-button }
10 changes: 10 additions & 0 deletions docs/blog/2023/setup-ballerina.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: "Ballerina setup-ballerina Action"
date: 2023-02-20
---

# :page_facing_up: Ballerina `setup-ballerina` Action

This post was originally published on [Dev Community](https://dev.to/hasitha/simplify-ballerina-workflow-on-github-with-setup-ballerina-action-452j) and covers the usage of the new setup-ballerina GitHub Action.

[:fontawesome-brands-twitter: View Tweet](https://twitter.com/HasithaAravinda/status/1627725355472809984){ .md-button }
Loading
Loading