From 7f743edd9a909e703cd7bdb84ca0b6eca25b6baa Mon Sep 17 00:00:00 2001 From: Akir Oussama Date: Wed, 15 Jun 2022 02:22:49 +0200 Subject: [PATCH 1/4] Create step1.helloactions.yml --- .github/workflows/step1.helloactions.yml | 36 ++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/step1.helloactions.yml diff --git a/.github/workflows/step1.helloactions.yml b/.github/workflows/step1.helloactions.yml new file mode 100644 index 0000000..18a6a3e --- /dev/null +++ b/.github/workflows/step1.helloactions.yml @@ -0,0 +1,36 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "main" branch + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world! + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. From 9bc6f85931adb3a7c51752814801a4d97143a288 Mon Sep 17 00:00:00 2001 From: oakir Date: Thu, 16 Jun 2022 08:34:08 +0200 Subject: [PATCH 2/4] deploy on production --- app/routes/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes/index.tsx b/app/routes/index.tsx index f6a0b51..a817e6d 100644 --- a/app/routes/index.tsx +++ b/app/routes/index.tsx @@ -24,7 +24,7 @@ export default function Index() {

- Promo VIEL

+ Promo WS

Mars 2022

From e43b9d832f1b2dbdea3362fd7aabcb26aab7da3d Mon Sep 17 00:00:00 2001 From: oakir Date: Thu, 16 Jun 2022 10:41:21 +0200 Subject: [PATCH 3/4] test continuous deployment --- app/routes/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes/index.tsx b/app/routes/index.tsx index a817e6d..c1a22e9 100644 --- a/app/routes/index.tsx +++ b/app/routes/index.tsx @@ -24,7 +24,7 @@ export default function Index() {

- Promo WS

+ Promo WS ZE BEST

Mars 2022

From 5c74e15c41719f8af3c386e51130b034e6dd5a4d Mon Sep 17 00:00:00 2001 From: Akir Oussama Date: Thu, 15 Sep 2022 11:38:30 +0200 Subject: [PATCH 4/4] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 0a16ab4..3ec52e0 100644 --- a/README.md +++ b/README.md @@ -172,3 +172,5 @@ This project uses ESLint for linting. That is configured in `.eslintrc.js`. We use [Prettier](https://prettier.io/) for auto-formatting in this project. It's recommended to install an editor plugin (like the [VSCode Prettier plugin](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)) to get auto-formatting on save. There's also a `npm run format` script you can run to format all files in the project. [![CI](https://github.com/akiroussama/ci-example-using-github-actions/actions/workflows/blank.yml/badge.svg)](https://github.com/akiroussama/ci-example-using-github-actions/actions/workflows/blank.yml) + +And thanks :)