My First Post

Updated: , Published:

So we will learn about my first post

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
  <!-- prettier-ignore -->
  version: 0.2
    
    env:
      variables:
        hugo_version: "0.78.2"
    
    phases:
      install:
        runtime-versions:
          nodejs: 12.x
        commands:
          - echo Installing hugo
          - wget "https://github.com/gohugoio/hugo/releases/download/v${hugo_version}/hugo_extended_${hugo_version}_Linux-64bit.deb"
          - dpkg -i hugo_extended_${hugo_version}_Linux-64bit.deb
          - echo Installing npm packages
          - npm install
          - npm update
        finally:
          - hugo version
      build:
        commands:
          - git config --global user.email "test@example.com"
          - git config --global user.name "John Doe"
          - git init
          - git add .
          - git commit -m 'build commit'
          - echo Building Website content
          - hugo
          - echo Built hugo on `date`
    
    artifacts:
      base-directory: ./public
      files:
        - '**/*'
  

Some other stuff

Oops, something went wrong on the authorization endpoint!